* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul,
li,
ol {
  list-style: none;
}

html,
body,
#app {
  width: 100%;
  height: 100%;
  min-width: 1200px;
  min-height: 600px;
  color: #0c225e;
  background-color: #ffffff;
}

img {
  width: 100%;
  height: 100%;
}
.container {
  box-sizing: border-box;
  width: 100%;
  height: calc(100% - 40px);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0px 3px 12px rgb (12 34 94 / 10%);
  // padding: 20px;
  overflow: hidden;
  overflow-y: auto;
}
input:-internal-autofill-selected {
  font-size: 16px !important;
  text-fill-color: #0c225e !important;
  -webkit-text-fill-color: #0c225e !important;
  transition: background-color 5000s ease-in-out 0s !important;
}
//修改进度条颜色
#nprogress .bar {
  background: #4773ed !important;
}

/* 设置滚动条的样式 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background: #ebebeb;
}

/* 滚动槽 */
::-webkit-scrollbar-track {
  border-radius: 10px;
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #b9bbbb;
}

//text-but删除  红色
.delete {
  color: red !important;
}

//空状态
.empty {
  width: 100%;
  min-height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;

  img {
    width: 200px;
    height: 160px;
  }
}

//去下划线
a {
  text-decoration: none;
}

//背景阴影
.box-shadow {
  border-radius: 10px;
  box-shadow: 0px 3px 12px rgba(12, 34, 94, 0.1);
}

.el-main {
  background-color: #f4f7fe;
}

.el-container {
  height: 100%;
}

//弹窗css
.el-dialog {
  display: flex;
  flex-direction: column;
  margin: 0 !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 12px;
  overflow: hidden;
  .el-dialog__header {
    margin-right: 0;
    border-bottom: 1px solid #daddea;
    font-weight: bold;
    padding: 15px;
    .el-dialog__title {
      font-size: 16px !important;
      color: #0c225e !important;
    }
  }
  .el-dialog__body {
    padding: 20px 20px 0 20px;
    max-height: 85vh;
    overflow: auto;
    color: #0c225e !important;
  }
  .el-dialog__footer {
    z-index: 99;
    padding: 15px;
    margin-top: 20px;
    box-shadow: 0px 0px 10px rgba(153, 153, 153, 0.3);
  }
}

//下拉
.el-select {
  width: 100%;
}

//数字输入框
.el-input-number {
  width: 100%;
  .el-input__inner {
    text-align: left;
  }
}

//but按钮
.el-button:focus {
  background-color: var(--el-button-bg-color);
  color: var(--el-button-text-color);
  border-color: var(--el-color-primary-light-5);
}
//表单label
.el-form-item__label {
  font-weight: bold;
  color: #333;
}
.el-form-item.is-error .el-input__inner {
  border-color: #e06464 !important;
}
.el-form--inline .el-form-item {
  margin-right: 20px;
}

//上传组件删除提示
.el-upload-list__item .el-icon--close-tip {
  display: none !important;
}

//tree 行高
.el-tree-node__content {
  height: 32px;
}

//抽屉-右开
.el-drawer {
  min-width: 320px;
  .el-drawer__header {
    padding: 10px 15px;
    border-bottom: 1px solid #dcdfe6;
    box-shadow: 1px 0px 5px rgb(12 34 94 / 16%);
    font-size: 14px;
    color: #333;
    font-weight: 700;
    margin-bottom: 0;
  }
  .el-drawer__footer {
    height: 60px;
    box-shadow: 3px 0px 12px rgb(12 34 94 / 16%);
    padding: 0 20px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
